Learn to Program with Assembly by Jonathan Bartlett
Author:Jonathan Bartlett
Language: eng
Format: epub
ISBN: 9781484274378
Publisher: Apress
12. Calling Functions from Libraries
Jonathan Bartlett1
(1)Tulsa, OK, USA
In Chapter 11, we learned how to structure our code into functions so that other code can call these functions in a standardized way. However, your computer already comes preloaded with thousands of functions already built which you can call. In this chapter, we will look at how to call those functions, as well as some of the more helpful ones that are available.
The actual process of calling these functions you already know. If you know the name of a function, and you know its parameters, then you know the assembly language instructions to call itâmove the parameters to the correct registers, save any registers that are not guaranteed to be preserved to the stack, and then call the function.
The questions, then, are, (a) how do we know what functions are available, (b) how do we learn what the parameters are, and (c) how do we include these functions in our program?
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Exploring Deepfakes by Bryan Lyon and Matt Tora(7734)
Robo-Advisor with Python by Aki Ranin(7628)
Offensive Shellcode from Scratch by Rishalin Pillay(6109)
Microsoft 365 and SharePoint Online Cookbook by Gaurav Mahajan Sudeep Ghatak Nate Chamberlain Scott Brewster(5028)
Ego Is the Enemy by Ryan Holiday(4958)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4438)
Python for ArcGIS Pro by Silas Toms Bill Parker(4185)
Elevating React Web Development with Gatsby by Samuel Larsen-Disney(3891)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(3629)
Learning C# by Developing Games with Unity 2021 by Harrison Ferrone(3285)
Speed Up Your Python with Rust by Maxwell Flitton(3231)
Liar's Poker by Michael Lewis(3227)
OPNsense Beginner to Professional by Julio Cesar Bueno de Camargo(3195)
Extreme DAX by Michiel Rozema & Henk Vlootman(3172)
Agile Security Operations by Hinne Hettema(3124)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic and Jasmin Redzepagic(3109)
Essential Cryptography for JavaScript Developers by Alessandro Segala(3083)
Cryptography Algorithms by Massimo Bertaccini(3002)
AI-Powered Commerce by Andy Pandharikar & Frederik Bussler(2983)
